<?php if (basename(__FILE__) == basename($_SERVER['PHP_SELF'])) header("Location: ./"); require_once('sendmail.php'); $package_name = (isset($package_name)) ? $package_name : 'choose'; ?>
<div id="page" class="clearfix">
    <div id="page-title">
        <a href="<?php echo $fb_m_url;?>" id="fb-marketing-btn" class="btn" title="რა არის Facebook მარკეტინგი?">რა არის Facebook მარკეტინგი?</a>
    </div><!-- #page-title -->
    <div id="contact-form-area" class="clearfix">
    	<?php if( $displayForm ) : ?>
    	<form action="" name="contact-form" method="post">
        <h2 class="title t-3">კონტაქტი</h2>
        <?php echo $error; ?>   
        <div class="clearfix">
            <input type="text" name="name" id="name" class="input" value="<?php echo ( isset($name) ) ? $name : 'სახელი, გვარი'; ?>" title="სახელი, გვარი" />
        </div><!-- .clearfix -->
        <div class="clearfix">
            <input type="text" name="phone" id="phone" class="input" value="<?php echo ( isset($phone) ) ? $phone : 'ტელეფონი'; ?>" title="ტელეფონი" />
            <input type="text" name="email" id="email" class="input last" value="<?php echo ( isset($email) ) ? $email : 'ელ. ფოსტა'; ?>" title="ელ. ფოსტა" />
        </div><!-- .clearfix -->
        <div class="clearfix">
            <input type="text" name="organization" id="organization" class="input" value="<?php echo (isset($organization)) ? $organization : 'ორგანიზაცია'; ?>" title="ორგანიზაცია" />
            <select name="package" id="package" class="select">
                <option value="No Order"<?php  echo ( $package_name == 'choose' ) ? ' selected="selected"' : ''; ?>>აირჩიეთ სასურველი პაკეტი</option>
                <option value="Basic"<?php  echo ( $package_name == "basic" ) ? ' selected="selected"' : ''; ?>>Basic პაკეტი</option>
                <option value="Premium"<?php  echo ( $package_name == "premium" ) ? ' selected="selected"' : ''; ?>>Premium პაკეტი</option>
                <option value="Professional"<?php  echo ( $package_name == "professional" ) ? ' selected="selected"' : ''; ?>>Professional პაკეტი</option>
                <option value="Personal"<?php  echo ( $package_name == "personal" ) ? ' selected="selected"' : ''; ?>>Personal პაკეტი</option>
                <option value="Contest"<?php  echo ( $package_name == "contest" ) ? ' selected="selected"' : ''; ?>>Contest პაკეტი</option>
            </select>
        </div><!-- .clearfix -->
        <textarea name="message" id="message" class="textarea"><?php echo ( isset($message) ) ? $message : ''; ?></textarea>
        <input type="submit" name="send" value="გაგზავნა" title="გაგზავნა" class="submit-btn" id="send" />
        </form>
        <?php else : ?>
        	<div class="success"><p>გმადლობთ, თქვენი შეტყობინება მიღებულია.</p></div><!-- .success --> 
    	<?php endif; ?>
    </div><!-- #contact-form-area -->
    <div id="contact-info">
        <h2 class="title t-4">საკონტაქტო ინფორმაცია</h2>
        <p>
            <strong>"სინგულარ ჯგუფი"</strong>
        </p>
        <p>
            <strong>მისამართი:</strong> ი. ხვიჩიას 5, თბილისი, 0160
            <br/>
            <strong>ტელეფონი:</strong> +995 32 219 30 09
            <br/>
            <strong>ელ. ფოსტა:</strong> info@apps.ge
        </p>
        <h2 class="title t-5">ჩვენ სოციალურ ქსელებში</h2>
        <div class="clearfix">
            <a id="facebook-btn" class="btn" href="http://fb.com/Singular.ge" target="_blank" title="Facebook Page">Facebook</a>
            <a id="twitter-btn" class="btn" href="http://twitter.com/singulargroup" target="_blank" title="Twitter Account">Twitter Account</a>
            <a id="linkedin-btn" class="btn" href="http://www.linkedin.com/company/767894" target="_blank" title="LinkedIn Profile">LinkedIn Profile</a>
        </div><!-- .clearfix -->
    </div><!-- #contact-info -->
</div><!-- #page -->
</div><!-- .wrapper -->

